<template>
    <div class="content-text-box">
        <YXEditor :content="content"/>
    </div>
</template>

<script>
    import YXEditor from '../common/contentstyle/Editor.vue';

    export default {
        name: 'TextContent',
        props: {
            content: {
                type: Object,
                default: _ => {
                    return {
                        value: '<span style="font-size: 14px;">默认文本</span>'
                    };
                }
            }
        },
        components: {
            YXEditor
        }
    }
</script>

<style scoped lang='scss'>
    .content-text-box {

    }
</style>
